<script lang="ts" setup>
const props = defineProps({
  icon: {
    type: String,
    default: ''
  }
})

</script>

<template>
  <div class="icon-svg-nor">
    <svg v-if="icon"
         width="100%"
         height="100%"
         aria-hidden="true">
      <use :xlink:href="'#iv-'+icon" />
    </svg>
  </div>
</template>


<style scoped lang="scss">

.icon-svg-nor{
  @include hor-group(center);
  flex:none;
  width:var(--w-icon-size) ;
  height:var(--w-icon-size) ;
  fill:var(--w-icon-color);
}
</style>
